<template>
  <footer class="vab-footer">
    Copyright
    <vab-icon icon="copyright-line" />
    {{ fullYear }} {{ title }}v{{ version }}
  </footer>
</template>

<script>
  import { defineComponent } from 'vue'
  import { title } from '@/config'
  import { version } from '@/config'
  export default defineComponent({
    name: 'VabFooterNew',

    setup() {
      return {
        title,
        version,
        fullYear: new Date().getFullYear(),
      }
    },
  })
</script>

<style lang="scss" scoped>
  .vab-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 2000 !important;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
    padding: 0 $base-padding 0 $base-padding;
    color: rgba(0, 0, 0, 0.45);
    // background: var(--el-color-white);
    background: var(--vab-menu-background) !important;
    // border-top: 1px dashed $base-border-color;
    // background-color: #1566b1;
    color: #fff;
    // border-bottom-left-radius: 4px;
    // border-bottom-right-radius: 4px;
    i {
      margin: 0 5px;
    }
  }
</style>
